package com.customer.crm.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.customer.crm.system.pojo.Menu;
import com.customer.crm.system.pojo.SystemRole;
import com.customer.crm.system.pojo.SystemUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
	
	 List<Menu> findMenu(@Param("roles") List<SystemRole> roles , String id);
}
